package config

type Redis struct {
	DB       int    `mapstructure:"db" json:"db" yaml:"db"`
	Addr     string `mapstructure:"addr" json:"addr" yaml:"addr"`
	Password string `mapstructure:"password" json:"password" yaml:"password"`
	MaxIdle int    `mapstructure:"max-idle" json:"maxidle" yaml:"max-idle"`
	MaxActive int    `mapstructure:"max-active" json:"maxactive" yaml:"max-active"`
	IdleTimeout int    `mapstructure:"idle-timeout" json:"idletimeout" yaml:"idle-timeout"`
}